 <!DOCTYPE html>

<html>

<!--Made By kailuosoft.com, TEL 171 9992 9517 -->

<head>



    <meta charset="utf-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">





    <title></title>

    <meta name="keywords" content="">

    <meta name="description" content="">



    <include file="Commons/commons" />



   <script type="text/javascript">

    /*function page(n,s){

      var search_number=$('#search_number').val();

      var salesman = $('#salesman').val(); 

      var is_finish = $('#is_finish').val(); 

      var delivery_time_start=$('#start').val();

      var delivery_time_end=$('#end').val();

      var customer_name=$('#customer_name').val();

	  var tracking_number = $("#tracking_number").val();

      var asc=$('#asc').val();

      location.href='financial_management?pageNo='+n+'&pageSize='+s+'&search_number='+search_number+'&is_finish='+is_finish+'&salesman='+salesman+'&delivery_time_start='+delivery_time_start+'&delivery_time_end='+delivery_time_end+'&customer_name='+customer_name+'&tracking_number='+tracking_number;

        return false;

      }*/

      //传递页码的 js 函数
    function page(nowpage,pagesize){

      if(nowpage)

        $("input[name='nowpage']").val(nowpage);

      if(pagesize)

        $("input[name='pagesize']").val(pagesize);

      $("#searchForm").submit();

    }

    

    function dele(id)

    {

        layer.confirm('确定要删除吗？',

                    {btn:['确定','取消']},

              function(){

                

                location.href="goods_delete/id/"+id

              }),

				  

				  function(){return false;} 

				  

		}

	

	  </script>

	<!-- 百度编辑器 -->
    <link href="__PUBLIC__/umeditor/themes/default/css/umeditor.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="__PUBLIC__/umeditor/third-party/jquery.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/umeditor/umeditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/umeditor/umeditor.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/umeditor/lang/zh-cn/zh-cn.js"></script>

  <!-- 百度编辑器 -->

	</head>



<body class="gray-bg" style="width:1400px; overflow:auto;">

    <div class="wrapper wrapper-content animated fadeInRight">

         

        <div class="row">

            <div class="col-sm-12">

                <div class="ibox float-e-margins">

                    <div class="ibox-title">

                        <h5>公司业务范围介绍(About Us)</h5>

                        

                    </div>

                    <div style="margin-top: 20px;">
                
            <form action="" method='post' >



                        <if condition="$res['id'] neq ''">
                            <input type="hidden" value="{$res.id}" name="id">
                        </if>

                        联系信息：
                         <script type="text/plain" id="myEditor" name="contact" placeholder="...Contact us... " style="width:600px;height:300px;">{$res.contact}</script>
                        <p style="margin-top: 30px;"></p>
                        公司简介：
                        <textarea name="content" placeholder="...about us... " class="form-control" style="width: 800px;height:600px;">{$res.content}</textarea>

                        <input type="submit" value="提交">
                        <a class="btn btn-white btn-sm " href="javascript:window.location.reload(true);" data-toggle="tooltip" data-placement="left"   title="刷新"> <i class="glyphicon glyphicon-repeat"></i> 刷新</a>  
             

            </form>


  </div>

  </div>

</div>

                    </div>

                </div>

            </div>

             

        </div>

         

    </div>

  
   



    <script>

        $(document).ready(function(){$(".i-checks").iCheck({checkboxClass:"icheckbox_square-green",radioClass:"iradio_square-green",})});

     $(document).ready(function () {

    

            $('.check-all').iCheck({

       



                checkboxClass: 'icheckbox_square-green',

                radioClass: 'iradio_square-green',

            });

        });

    

  

  $(document).ready(function() {

    $('.check-all').on('ifChecked', function(event){ //ifCreated 事件应该在插件初始化之前绑定 

        $('.i-checks').iCheck('check');

      });



    $('.check-all').on('ifUnchecked', function(event){ //ifCreated 事件应该在插件初始化之前绑定 

        $('.i-checks').iCheck('uncheck');

      });

	  

	  

	  

	  

	  $('#finish_All').click(function(){

		    ids='';

		    $('.i-checks').each(function(){

				if($(this).prop('checked'))

				{

					ids+=$(this).val()+',';

				}

			 })

			 if(ids=='')

			 {

				 layer.alert('请选择订单');

				 return false

			 }

		    $(this).attr('href','finishAll?tids='+ids);

			

	  }) 

	  

	  

	  $('#daochu_management').click(function(){

		    ids='';

		    $('.i-checks').each(function(){

				if($(this).prop('checked'))

				{

					ids+=$(this).val()+',';

				}

			 })

       var start = $('#start').val();

       var end = $('#end').val();



			 if(ids==''&&!start&&!end)

			 {

				 layer.alert('请选择产品或选择对应时间段、进行导出');

				 return false

			 }

       if(ids==''){

          $(this).attr('href','{:U("Product/get_xxxxxx_id")}?start='+start+'&end='+end);

       }else{

          $(this).attr('href','{:U("Product/export_download")}?source_page=product_circulation&ids='+ids);

       }

		  

			

	  }) 

    

});

    </script>



</body>

<script type="text/javascript">
    //实例化编辑器
    var um = UM.getEditor('myEditor');
    var um = UM.getEditor('myEditor2');
    um.addListener('blur',function(){
        $('#focush2').html('编辑器失去焦点了')
    });
    um.addListener('focus',function(){
        $('#focush2').html('')
    });

</script>

</script>
<include file="Commons/commons" />
</html>

